package cn.jee.repository;

import cn.jee.entity.Student;
import org.springframework.data.jpa.repository.JpaRepository;
import java.util.List;

public interface StudentRepository extends JpaRepository<Student, Long> {
    List<Student> findByTeacherIsNull();
    List<Student> findByTeacherId(Long teacherId);
} 